
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_gcj_xlib_WindowAttributes__
#define __gnu_gcj_xlib_WindowAttributes__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
        class RawData;
      namespace xlib
      {
          class Display;
          class Pixmap;
          class Visual;
          class Window;
          class WindowAttributes;
      }
    }
  }
}

class gnu::gcj::xlib::WindowAttributes : public ::java::lang::Object
{

public:
  WindowAttributes();
  WindowAttributes(::gnu::gcj::xlib::Window *);
private:
  void initFromWindow(::gnu::gcj::xlib::Window *);
  void init(::gnu::gcj::xlib::WindowAttributes *);
public: // actually protected
  virtual void finalize();
public:
  virtual ::java::lang::Object * clone();
  virtual void setBackground(jlong);
  virtual void setBackground(::gnu::gcj::xlib::Pixmap *);
  virtual void setEventMask(jlong);
  virtual void setVisual(::gnu::gcj::xlib::Visual *);
  virtual ::gnu::gcj::xlib::Visual * getVisual();
  virtual void apply(::gnu::gcj::xlib::Window *);
public: // actually package-private
  virtual ::gnu::gcj::RawData * getXSetWindowAttributesStructure();
  virtual void initOut();
public:
  static const jlong MASK_BUTTON_PRESS = 4LL;
  static const jlong MASK_BUTTON_RELEASE = 8LL;
  static const jlong MASK_EXPOSURE = 32768LL;
  static const jlong MASK_STRUCTURE_NOTIFY = 131072LL;
public: // actually package-private
  ::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::java::lang::Object)))) display;
  ::gnu::gcj::RawData * in;
  ::gnu::gcj::RawData * out;
  jlong mask;
  ::gnu::gcj::xlib::Visual * visual;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_gcj_xlib_WindowAttributes__
